<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.css">
  <link rel="stylesheet" href="./lib/docs.css">
  <link rel="stylesheet" href="./css/index.css">
  <title>游戏计分板</title>
  <script src="./lib/jquery/jquery-3.7.1.js"></script>
  <script src="./lib/bootstrap/js/bootstrap.bundle.js"></script>
  <script src="./js/index.js" type="module"></script>
</head>

<body data-bs-theme="dark" class="container-fluid" >
  <div class="toast-container position-fixed d-flex top-0 justify-content-center w-100">
    <div id="liveToast" class="toast bg-info-subtle" role="alert" aria-live="assertive" aria-atomic="true">
      <div class="toast-header">
        <strong class="me-auto text-success">游戏积分信息提交成功！</strong>
        <small>地主归属： <span id="toastLandlordName"></span></small>
        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
      </div>
      <div class="toast-body">
        <span class="fw-bold text-danger">胜利方：</span>
        <span id="toastWinner"></span>
      </div>
    </div>
  </div>
  <div class="alert alert-secondary" role="alert">
    <h1 class="text-center">2024年度家庭斗地主锦标赛</h1>
    <hr>
    <div id="dashboard"></div>
  </div>
  <div class="row">
    <div id="lastReport" class="col-sm-6 mb-3 mb-sm-0"></div>
    <div id="scoreForm" class="col-sm-6"></div>
  </div>
<div style="height: 200px;"></div>
  <div class="card">
    <div class="card-header">
      游戏对局列表
    </div>
    <div class="card-body">
      <!-- <h5 class="card-title">Special title treatment</h5> -->
    
      <p class="card-text"></p>
      <table class="table table-dark table-hover">
        <thead>
          <tr>
            <th scope="col">#</th>
            <th scope="col">流水号</th>
            <th scope="col">畅畅</th>
            <th scope="col">妈妈</th>
            <th scope="col">大军</th>
            <th scope="col">地主归属</th>
            <th scope="col">创建时间</th>
          </tr>
        </thead>
        <tbody id="scoreTableData" class="table-group-divider">
        </tbody>
      </table>
      <button id="clearAllData" class="btn btn-primary justify-content-end">清除全部游戏数据</button>
    </div>
  </div>
</body>
</html>